﻿#include "CmdTbChangeColumnName.h"
#include "PostCommandPy.h"
#include "BaseModule/IBaseSignal.h"

namespace PostCommand
{
    CmdTbChangeColumnName::CmdTbChangeColumnName()
        : CommandBase()
    {
        this->initCmdName();
    }

    CmdTbChangeColumnName::~CmdTbChangeColumnName()
    {
    }

    bool CmdTbChangeColumnName::execute()
    {
        emit IBaseSignalInstance->signal_changeTbColumnName(m_windowId, m_index, m_newName);
        return true;
    }

    void CmdTbChangeColumnName::undo()
    {
    }

    void CmdTbChangeColumnName::redo()
    {
    }
}


